home *** CD-ROM | disk | FTP | other *** search
- /* Mods by G1EMM */
- #ifndef _BM_H
- #define _BM_H
-
- #ifndef _MAILBOX_H
- #include "mailbox.h"
- #endif
- #ifndef _SMTP_H
- #include "smtp.h"
- #endif
- #ifndef _MAILUTIL_H
- #include "mailutil.h"
- #endif
-
- /* bm.h -- definitions for bmutil.c that aren't included elsewhere */
-
- /* number of columns and lines on a standard display, e.g. vt100 */
- #define MAXCOL 80
- #define MAXLIN 24
-
- #define MAXBUF 160
-
- /* message status */
- #define BM_DELETE 1
- #define BM_READ 2
- #define BM_FORWARDED 4
- #define BM_RRECEIPT 8
- #define BM_PERMANENT 0x2000
- #define BM_ONHOLD 0x4000
-
- #define BM_NLET 200 /* default size of letter array */
-
- #undef SLINELEN
- #define SLINELEN 64
- #undef LINELEN
- #define LINELEN 256
-
- #if 0
- extern char *fgets();
- #endif
- extern int MbHolding;
-
- void getlastread (struct mbx *m);
- void setlastread (struct mbx *m);
- void scanmail (struct mbx *m);
- int msgtofile (struct mbx *m,int msg,FILE *tfile,int noheader, int numbered);
- int dolistnotes (int argc,char *argv[],void *p);
- #ifndef _COMMANDS_H
- int isarea (const char *name);
- #endif
- int dodelmsg (int argc,char *argv[],void *p);
- int doreadmsg (int argc,char *argv[],void *p);
- int doreadnext (int argc,char *argv[],void *p);
- int mbx_reply (int argc,char *argv[],struct mbx *m,struct list **cclist,char **rhdr);
- int closenotes (struct mbx *m, int exiting);
- long isnewprivmail (struct mbx *m, const char *ext);
- extern int tkeywait (const char *prompt,int flush,int linemode);
- extern int mykeywait (char *prompt,struct mbx *m);
-
- #endif /* _BM_H */
-